package com.xcc.commandpattern.demo01;

/**
 * @Description: GarageDoor
 * @Author xiechuang
 * @Date 2022/9/7
 */
public class GarageDoor {

    public void up() {
        System.out.println("GarageDoor is Up");
    }

    public void down() {
        System.out.println("GarageDoor is Down");
    }

    public void stop() {
        System.out.println("GarageDoor is Stop");
    }

    public void lightOn() {
        System.out.println("GarageDoor is On");
    }

    public void lightOff() {
        System.out.println("GarageDoor is Off");
    }

}
